<%@ page language="java" pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		var allowGroup = [];
		if(groups && groups.length > 0) {
			for(var x = 0; x < groups.length; x++) {
				//添加好友时不能放到陌生人组和黑名单中
				if('1' != groups[x].id && '2' != groups[x].id) {
					allowGroup.push(groups[x]);
				}
			}
		}
		//初始化查询用户
		$('#add_user_group').combobox({
			panelWidth : 200, 
			valueField : 'id', 
			textField : 'groupname', 
			required:true, 
			editable : false,
			data : allowGroup
		}); 
	});
</script>
<table class="tableForm">
	<tr>
		<th>备注名称</th>
		<td><input type="text" name="add_user_remarkName" id="add_user_remarkName" style="width: 200px">
		</td>
	</tr>
	<tr>
		<th>分组</th>
		<td>
			<select name="add_user_group" id="add_user_group" style="width:200px">
			</select>
		</td>
	</tr>
</table>